Skip to main content

Drag and Drop

Automation tip: assert data-dropped on the draggable and data-drop-count on the drop zone. A keyboard fallback is included: focus the tile, press Space to “grab”, then focus the drop zone and press Enter to drop.

Draggable

Drag me
Hint: Space = grab, Enter = drop

Drop Zone

Drop here
Drag the tile into this area (or use keyboard fallback).
Result: Waiting